FROM openjdk:8-jdk-alpine
VOLUME /tmp
ARG JAR_FILE
ADD live-life-cycle.jar.jar app.jar
ENV PARAMS=""
ENTRYPOINT ["sh","-c","java -Djava.security.egd=file:/dev/./urandom $PARAMS -jar /app.jar"]
